//  Copyright (c) 2008  Yoong-ki Ahn & Youngjin Kim < mexif@googlegroups.com>
//  See the enclosed file COPYING for license information (MIT Licence).
//  If you did not receive this file,
//  see http://www.opensource.org/licenses/mit-license.php.

#pragma once


class CPicture
{
public:
	CPicture();
	~CPicture();

	BOOL	LoadFromBuffer( const BYTE* buff, UINT nSize );
	void	Close();
	CSize	GetSize( CDC* pDC );

	BOOL	Draw(CDC* pDC, int x, int y, int cx, int cy);

	IPicture* picture_;
	enum
	{
		HIMETRIC_INCH   = 2540
	};
};

